Skip to content

WIP: deprecate readFile/writeFile/getPackageJson (loadFile/saveFile/loadPackageJson)#10

Closed
jycouet wants to merge 2 commits intochore/pr-deprecation-basefrom
chore/pr-deprecation
Closed

WIP: deprecate readFile/writeFile/getPackageJson (loadFile/saveFile/loadPackageJson)#10
jycouet wants to merge 2 commits intochore/pr-deprecation-basefrom
chore/pr-deprecation

Conversation

@jycouet
Copy link
Copy Markdown
Owner

@jycouet jycouet commented Apr 4, 2026

WIP track surface API — deprecation only.

Base chore/pr-deprecation-base (align, same as before loadFile refactor).
Head chore/pr-deprecation adds only:

  • bed2083loadFile / saveFile / loadPackageJson; deprecate legacy names; related sv / addon refactors.
  • 7e203ce — JSDoc clarifying the deprecated aliases.

This range does not include fmt / cleanup types / yaml-dedent-pm work, so scripts/generate-api-surface.js is unchanged here.

Follow-up: removal of the deprecated exports → separate PR (#9): chore/coupling-v1chore/coupling-v2.

Closes the confusing diff that mixed api-surface churn into the deprecation story (old PR #8).

Made with Cursor

jycouet added 2 commits April 4, 2026 12:47
- sv-utils: add loadFile, saveFile, loadPackageJson; deprecate readFile,
  writeFile, getPackageJson; remove installPackages (logic lives in sv engine).
- sv: inline updatePackages in engine; use new helpers; drop deprecated
  workspace.file paths; addons use string literals; remove stale @deprecated
  on processors/create exports.
- Regenerate api-surface snapshots.

Made-with: Cursor
@jycouet
Copy link
Copy Markdown
Owner Author

jycouet commented Apr 4, 2026

Superseded by reorganized v0/v1/v2 stack.

@jycouet jycouet closed this Apr 4, 2026
@jycouet jycouet deleted the chore/pr-deprecation branch April 4, 2026 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant